package com.sajhasite.service;

import java.util.List;

import com.sajhasite.domain.bean.ChildPostBean;
import com.sajhasite.domain.constant.CategoryType;
import com.sajhasite.domain.entity.Post;

public interface IPostService {
	void addPost(Post post);
	void addChildPost(ChildPostBean childPostBean);
	List<Post> getLastNPosts(int n);
	Post getAllChildPostForPostId(Long postId);
	CategoryType[] getCategoryList();
}
